package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the transfer_jl database table.
 * 
 */
@Entity
@Table(name="transfer_jl")
@NamedQuery(name="TransferJl.findAll", query="SELECT t FROM TransferJl t")
public class TransferJl implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int transferjl_id;

	private int transferjl_iid;

	//bi-directional many-to-one association to Department
	@ManyToOne
	@JoinColumn(name="Depart_id")
	private Department department;

	//bi-directional many-to-one association to Position
	@ManyToOne
	@JoinColumn(name="position_id")
	private Position position;

	//bi-directional many-to-one association to Transfer
	@ManyToOne
	@JoinColumn(name="Transfer_id")
	private Transfer transfer;

	public TransferJl() {
	}

	public int getTransferjl_id() {
		return this.transferjl_id;
	}

	public void setTransferjl_id(int transferjl_id) {
		this.transferjl_id = transferjl_id;
	}

	public int getTransferjl_iid() {
		return this.transferjl_iid;
	}

	public void setTransferjl_iid(int transferjl_iid) {
		this.transferjl_iid = transferjl_iid;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public Position getPosition() {
		return this.position;
	}

	public void setPosition(Position position) {
		this.position = position;
	}

	public Transfer getTransfer() {
		return this.transfer;
	}

	public void setTransfer(Transfer transfer) {
		this.transfer = transfer;
	}

}